government = feudal_monarchy-lowest
aristocracy_plutocracy = -5
centralization_decentralization = 2
innovative_narrowminded = 3
mercantilism_freetrade = -5
offensive_defensive = -1
land_naval = -1
quality_quantity = 4
serfdom_freesubjects = -5
primary_culture = yamato
religion = shinto
technology_group = chinese
capital = 1022

1000.1.1 = { set_country_flag = idea_cabinet }
1000.1.1 = { set_country_flag = idea_grand_army }
1000.1.1 = { set_country_flag = idea_bureaucracy }

1000.1.1 = { set_country_flag = closed_society }
1000.1.1 = { set_country_flag = emerging_middle_class }
1000.1.1 = { set_country_flag = entrenched_past }
1000.1.1 = { set_country_flag = traditional_values }
1000.1.1 = { set_country_flag = limited_contact }
1000.1.1 = { set_country_flag = opening_society }
1000.1.1 = { set_country_flag = open_society }

1000.1.1 = { set_country_flag = mixed_country }
1000.1.1 = { set_country_flag = loyal_vassal } #One of the strongest supporters of the Ashikaga

1336.1.1 = { set_country_flag = northern_court_supporter }

1333.1.1 = { #Allied with the Ashikaga against the Hojo, is rewarded with Kii and Izu, also later Mutsu and Dewa (but later expelled and replaced with Uesugi)
	monarch = { 
		name = " "
		ADM = 5
		DIP = 5
		MIL = 6
		}
	}
1364.1.1 = { #Kunikiyo dies
	}
1392.1.1 = { #Shugo of Yamashiro in 1392, kanrei in 1398
	monarch = { 
		name = " "
		ADM = 5
		DIP = 5
		MIL = 5
		}
	}
1398.1.1 = { 
	set_country_flag = kanrei
	}
1400.1.15 = { capital = 1789 }
1405.1.1 = { #Motokuni dies
	clr_country_flag = kanrei
	monarch = { 
		name = " "
		ADM = 4
		DIP = 4
		MIL = 4
		}
	}
1410.1.1 = { set_country_flag = kanrei }
1412.1.1 = { clr_country_flag = kanrei }
1421.1.1 = { set_country_flag = kanrei }
1429.1.1 = { clr_country_flag = kanrei }
1433.1.1 = { #Mitsuie dies
	monarch = { 
		name = " "
		ADM = 4
		DIP = 4
		MIL = 4
		}
	}
1442.1.1 = { set_country_flag = kanrei }
1445.1.1 = { clr_country_flag = kanrei }
1449.1.1 = { set_country_flag = kanrei }
1452.1.1 = { clr_country_flag = kanrei }
1455.1.1 = { #Mochikuni dies
	set_country_flag = oposicion_nobleza_media #Yasaburo, Mochikuni's nephew, gains support from Hatakeyama vasssals
	monarch = { 
		name = " "
		ADM = 4
		DIP = 4
		MIL = 4
		}
	}
1459.1.1 = { set_country_flag = civil_war } #Yasaburo dies, but another succession war breaks out between Yoshihiro and Masanaga
1460.1.1 = {
	clr_country_flag = oposicion_nobleza_media
	monarch = { 
		name = " " #Split the clan in two
		ADM = 3
		DIP = 3
		MIL = 5
		}
	}
1464.1.1 = { set_country_flag = kanrei }
1467.1.1 = { clr_country_flag = kanrei }
1467.1.14 = { #Beginning of the Onin War as the Hatakeyama clan splits over the position of kanrei
	clr_country_flag = loyal_vassal
	set_country_flag = vassal
	}
#Kii Shugo from here
#1471.1.1 = { 
#	monarch = { 
#		name = " " #redundant
#		ADM = 4
#		DIP = 4
#		MIL = 4
#		}
#	}
1473.1.1 = { set_country_flag = kanrei }
1473.12.1 = { clr_country_flag = kanrei }
1477.1.1 = { set_country_flag = kanrei }
1486.1.1 = { clr_country_flag = kanrei }
1486.8.1 = { set_country_flag = kanrei }
1487.1.1 = { clr_country_flag = kanrei }
1490.1.1 = { clr_country_flag = civil_war } #Yoshihiro dies
1493.1.1 = { 
	monarch = { 
		name = " " #Soshu branch in Kawachi
		ADM = 4
		DIP = 4
		MIL = 4
		}
	}
1499.1.1 = { 
	monarch = { 
		name = "Hatakeyama Yoshihide" #Soshu branch
		ADM = 6 #organized offices for Shugo and Shugodai
		DIP = 5
		MIL = 3 #defeated by Hosokawa many times
		}
	}
1507.1.1 = { 
	monarch = { 
		name = "Hatakeyama Hisayoshi" #Bishu branch in Kawachi
		ADM = 5
		DIP = 5
		MIL = 4
		}
	}
1517.1.1 = { 
	monarch = { 
		name = "Hatakeyama Tanenaga" #Bishu branch
		ADM = 4
		DIP = 5
		MIL = 5
		}
	}
1545.1.1 = { 
	monarch = { 
		name = "Hatakeyama Masakuni" #Bishu branch
		ADM = 4
		DIP = 4
		MIL = 4
		}
	}
1550.1.1 = { 
	monarch = { 
		name = "Hatakeyama Takamasa" #Bishu branch
		ADM = 5
		DIP = 5
		MIL = 5
		}
	}
1576.1.1 = { #Takamasa died
	monarch = { 
		name = "Hatakeyama Masanao" #probably not appointed as Kii Shugo; puppet ruler supported by the Saiga
		ADM = 3
		DIP = 4
		MIL = 4
		}
	}

